Inheritance diagram for Exponent::GUI::Windowing::CWindow:

Definition at line 61 of file CWindow.hpp.
| Exponent::GUI::Windowing::CWindow::CWindow | ( | const CRect & | size | ) |
Construction
| size | The size of the window |
| virtual Exponent::GUI::Windowing::CWindow::~CWindow | ( | ) | [virtual] |
Destruction
| virtual void Exponent::GUI::Windowing::CWindow::addTimedObject | ( | ITimedObject * | timedObject | ) | [virtual] |
Add a new timed object
| timedObject | The object to add to the timer collection |
Implements Exponent::GUI::Windowing::IWindow.
| virtual void Exponent::GUI::Windowing::CWindow::clearTimedObjects | ( | ) | [virtual] |
Clear the timed bojects
Implements Exponent::GUI::Windowing::IWindow.
| virtual void Exponent::GUI::Windowing::CWindow::closeWindow | ( | ) | [virtual] |
Close the widnow
Implements Exponent::GUI::Windowing::IWindow.
| virtual void Exponent::GUI::Windowing::CWindow::constructKeyboardEvent | ( | EventRef | theEvent | ) | [protected, virtual] |
Construct the keyboard event
| theEvent | The mac key board event |
| virtual void Exponent::GUI::Windowing::CWindow::constructMousePosition | ( | EventRef | theEvent | ) | [protected, virtual] |
Construct the mouse position
| theEvent | The mac mouse event |
| virtual void Exponent::GUI::Windowing::CWindow::constructMousePosition | ( | LPARAM | lParam | ) | [protected, virtual] |
Construct a mouse position
| lParam | The windows mouse position |
| virtual bool Exponent::GUI::Windowing::CWindow::createWindow | ( | ) | [protected, virtual] |
Create the window
| virtual void Exponent::GUI::Windowing::CWindow::dereference | ( | ) | [virtual] |
Decrement the reference count. Object is deleted if reference count is <= 0
| virtual void Exponent::GUI::Windowing::CWindow::destroyWindow | ( | ) | [protected, virtual] |
Destroy the widnow
Implements Exponent::GUI::Windowing::IWindow.
| virtual void Exponent::GUI::Windowing::CWindow::disableWindow | ( | ) | [virtual] |
Disable the window
Implements Exponent::GUI::Windowing::IWindow.
| virtual void Exponent::GUI::Windowing::CWindow::draw | ( | CGraphics & | graphics | ) | [virtual] |
Draw the window images...
| graphics | The graphics handle to use |
| virtual void Exponent::GUI::Windowing::CWindow::enableWindow | ( | ) | [virtual] |
Enable the window
Implements Exponent::GUI::Windowing::IWindow.
| virtual void Exponent::GUI::Windowing::CWindow::gainedFocus | ( | IWindow * | window | ) | [virtual] |
Window gained the focus
| window | The window that lost focus |
Reimplemented in Exponent::GUI::Windowing::CMenuWindow.
| virtual IControlRoot* Exponent::GUI::Windowing::CWindow::getControlRoot | ( | ) | const [inline, virtual] |
Get the control root
| IControlRoot* | The control root of this window |
Implements Exponent::GUI::Windowing::IWindow.
Definition at line 404 of file CWindow.hpp.
| virtual CMouse* Exponent::GUI::Windowing::CWindow::getMouse | ( | ) | [inline, virtual] |
Get the mouse
| CMouse* | The mouse for this window |
Implements Exponent::GUI::Windowing::IWindow.
Definition at line 398 of file CWindow.hpp.
| virtual IToolTip* Exponent::GUI::Windowing::CWindow::getMutableToolTip | ( | ) | const [inline, virtual] |
Get the mutable tool tip
| IToolTip* | The tool tip |
Implements Exponent::GUI::Windowing::IToolTipSupportingWindow.
Definition at line 387 of file CWindow.hpp.
References m_toolTip.
| virtual SWindowHandle* Exponent::GUI::Windowing::CWindow::getMutableWindowHandle | ( | ) | const [inline, virtual] |
Get the widow handle
| SWindowHandle* | The handle of this window |
Implements Exponent::GUI::Windowing::IWindow.
Definition at line 157 of file CWindow.hpp.
| virtual void Exponent::GUI::Windowing::CWindow::getObjectDescription | ( | char * | string, | |
| const long | size | |||
| ) | const [virtual] |
Get a description of the object
| string | On return is filled with the description | |
| size | The size of the stirng |
| virtual IWindow* Exponent::GUI::Windowing::CWindow::getParentWindow | ( | ) | const [inline, virtual] |
Get hte parent window
| IWindow* | The parent window, may be NULL |
Implements Exponent::GUI::Windowing::IWindow.
Definition at line 121 of file CWindow.hpp.
| virtual long Exponent::GUI::Windowing::CWindow::getReferenceCount | ( | ) | const [virtual] |
Get the reference count
| long | The reference count |
| virtual const IToolTip* Exponent::GUI::Windowing::CWindow::getToolTip | ( | ) | const [inline, virtual] |
Get the tool tip
| const | IToolTip* The tool tip |
Implements Exponent::GUI::Windowing::IToolTipSupportingWindow.
Definition at line 390 of file CWindow.hpp.
References m_toolTip.
| virtual CWindowAttributes* Exponent::GUI::Windowing::CWindow::getWindowAttributes | ( | ) | const [inline, virtual] |
Get the widow attributes
| CWindowAttributes* | The attributes of this window |
Implements Exponent::GUI::Windowing::IWindow.
Definition at line 163 of file CWindow.hpp.
| virtual const SWindowHandle* Exponent::GUI::Windowing::CWindow::getWindowHandle | ( | ) | const [inline, virtual] |
Get the widow handle
| const | SWindowHandle* The handle of this window |
Implements Exponent::GUI::Windowing::IWindow.
Definition at line 151 of file CWindow.hpp.
| virtual const CPoint& Exponent::GUI::Windowing::CWindow::getWindowPosition | ( | ) | const [inline, virtual] |
Get the postion relative to the parent
| const | CPoint& The window position relative to the parent, usually the desktop |
Implements Exponent::GUI::Windowing::IWindow.
Definition at line 257 of file CWindow.hpp.
| virtual const CRect& Exponent::GUI::Windowing::CWindow::getWindowPositionAndSize | ( | ) | const [inline, virtual] |
Get the size and position
| const | CRect& The size and position of the window |
Implements Exponent::GUI::Windowing::IWindow.
Definition at line 283 of file CWindow.hpp.
| virtual const CDimension& Exponent::GUI::Windowing::CWindow::getWindowSize | ( | ) | const [inline, virtual] |
Get the size of the window
| const | CDimension& The dimension of the window |
Implements Exponent::GUI::Windowing::IWindow.
Definition at line 269 of file CWindow.hpp.
| virtual pascal OSErr Exponent::GUI::Windowing::CWindow::handleDropEvent | ( | WindowRef | window, | |
| DragRef | dragReference | |||
| ) | [protected, virtual] |
Handle a drag and drop event
| window | The window dropped to | |
| dragReference | A reference to the dragged object |
| pascal | OSErr The error status, did we handle? |
| static pascal OSErr Exponent::GUI::Windowing::CWindow::handleDropMessages | ( | WindowRef | window, | |
| void * | userData, | |||
| DragRef | dragReference | |||
| ) | [static, protected] |
Handle drag and drop messages
| window | The window that had a drop message | |
| userData | The user data assocuated with the window | |
| dragReference | The object dropped |
| pascal | OSErr The error status, did we handle? |
| virtual LRESULT Exponent::GUI::Windowing::CWindow::handleKeyboardEvents | ( | int | nCode, | |
| WPARAM | wParam, | |||
| LPARAM | lParam | |||
| ) | [protected, virtual] |
Handle key hook events
| nCode | The key code | |
| wParam | The high bits | |
| lParam | The low bits |
| LRESULT | the result, did we handle? |
| LRESULT Exponent::GUI::Windowing::CWindow::handleMouseWheelEvents | ( | int | nCode, | |
| WPARAM | wParam, | |||
| LPARAM | lParam | |||
| ) | [protected] |
Handle key hook events
| nCode | The key code | |
| wParam | The high bits | |
| lParam | The low bits |
| LRESULT | the result, did we handle? |
| virtual void Exponent::GUI::Windowing::CWindow::handleTimerEvent | ( | const long | id | ) | [virtual] |
Handle a timer event happening - Intended for internal use
| id | The id of the timer that has fired an event |
Implements Exponent::GUI::Windowing::IWindow.
| static void Exponent::GUI::Windowing::CWindow::handleTimerMessages | ( | CFRunLoopTimerRef | timer, | |
| void * | info | |||
| ) | [static, protected] |
Handle timer events
| timer | The timer that expired | |
| info | The timer info |
| virtual pascal OSStatus Exponent::GUI::Windowing::CWindow::handleWindowEvents | ( | EventHandlerCallRef | handler, | |
| EventRef | theEvent | |||
| ) | [protected, virtual] |
Handle window events
| handler | The window handler | |
| theEvent | The mac window event |
| pascal | OSErr The error status, did we handle? |
| virtual LRESULT Exponent::GUI::Windowing::CWindow::handleWindowEvents | ( | HWND | windowHandle, | |
| UINT | message, | |||
| WPARAM | wParam, | |||
| LPARAM | lParam | |||
| ) | [protected, virtual] |
Handle window events
| windowHandle | The handle to the window | |
| message | The message to handle | |
| wParam | The high bits | |
| lParam | The low bits |
| LRESULT | the result, did we handle? |
| virtual void Exponent::GUI::Windowing::CWindow::initialiseWindow | ( | CWindowAttributes * | windowAttributes, | |
| const bool | showWindow | |||
| ) | [virtual] |
Initilalise the window
| windowAttributes | The window attributes. (copy should be made, do not store this pointer - it may be deleted...) | |
| showWindow | Should the window be shown immediately |
Implements Exponent::GUI::Windowing::IWindow.
| virtual bool Exponent::GUI::Windowing::CWindow::isDropFileEnabled | ( | ) | const [inline, virtual] |
Can the window handle dropped files??
| bool | True if window can handle dropped files, false otherwise |
Implements Exponent::GUI::Windowing::IWindow.
Definition at line 379 of file CWindow.hpp.
| virtual bool Exponent::GUI::Windowing::CWindow::isKeyboardEnabled | ( | ) | const [inline, virtual] |
Can the window handle dropped files??
| bool | True if window can handle keyboard events, false otherwise |
Implements Exponent::GUI::Windowing::IWindow.
Definition at line 373 of file CWindow.hpp.
| virtual bool Exponent::GUI::Windowing::CWindow::isMouseEnabled | ( | ) | const [inline, virtual] |
Can the window handle dropped files??
| bool | True if window can handle mouse events, false otherwise |
Implements Exponent::GUI::Windowing::IWindow.
Definition at line 367 of file CWindow.hpp.
| static LRESULT CALLBACK Exponent::GUI::Windowing::CWindow::KeyboardProc | ( | int | nCode, | |
| WPARAM | wParam, | |||
| LPARAM | lParam | |||
| ) | [static, protected] |
Handle key hook events
| nCode | The key code | |
| wParam | The high bits | |
| lParam | The low bits |
| LRESULT | the result, did we handle? |
| virtual void Exponent::GUI::Windowing::CWindow::lostFocus | ( | IWindow * | window | ) | [virtual] |
Window lost the focus
| window | The window that lost focus |
Reimplemented in Exponent::GUI::Windowing::CAboutWindow, and Exponent::GUI::Windowing::CMenuWindow.
| static LRESULT CALLBACK Exponent::GUI::Windowing::CWindow::MouseWheelProc | ( | int | nCode, | |
| WPARAM | wParam, | |||
| LPARAM | lParam | |||
| ) | [static, protected] |
Handle wheel hook events
| nCode | The key code | |
| wParam | The high bits | |
| lParam | The low bits |
| LRESULT | the result, did we handle? |
| virtual void Exponent::GUI::Windowing::CWindow::openWindow | ( | ) | [virtual] |
Open the window
Implements Exponent::GUI::Windowing::IWindow.
| virtual void Exponent::GUI::Windowing::CWindow::redrawWindow | ( | ) | [virtual] |
Set the whole window dirty - generally use sparingly!!
Implements Exponent::GUI::Windowing::IWindow.
Reimplemented in Exponent::Vst::CVstWindow.
| virtual void Exponent::GUI::Windowing::CWindow::redrawWindow | ( | const CRect & | area | ) | [virtual] |
Set an area of the window dirty
| area | The area of the window relative to its top left to draw |
Reimplemented in Exponent::Vst::CVstWindow.
| virtual void Exponent::GUI::Windowing::CWindow::referenced | ( | ) | [virtual] |
Increment the reference count
| virtual void Exponent::GUI::Windowing::CWindow::registerChildWindow | ( | IWindow * | child | ) | [virtual] |
Register a child window
| child | The child window |
Implements Exponent::GUI::Windowing::IWindow.
| virtual void Exponent::GUI::Windowing::CWindow::registerDropFileListener | ( | IDropFileListener * | listener | ) | [inline, virtual] |
Register a drop file listener
| listener | The listener for drop file information |
Definition at line 353 of file CWindow.hpp.
| virtual void Exponent::GUI::Windowing::CWindow::registerFocusListener | ( | IFocusListener * | listener | ) | [inline, virtual] |
Register a focus listener
| listener | The listener for window focus information |
Definition at line 335 of file CWindow.hpp.
| virtual void Exponent::GUI::Windowing::CWindow::registerKeyboardListener | ( | IKeyboardListener * | listener | ) | [inline, virtual] |
Register keyboard listener
| listener | The listener for keyboard information |
Definition at line 359 of file CWindow.hpp.
| virtual void Exponent::GUI::Windowing::CWindow::registerMouseListener | ( | IMouseListener * | listener | ) | [inline, virtual] |
Register a mouse listener
| listener | The listener for mouse information |
Definition at line 347 of file CWindow.hpp.
| virtual void Exponent::GUI::Windowing::CWindow::registerWindowChangeListener | ( | IWindowChangeListener * | listener | ) | [inline, virtual] |
Register a window change listener
| listener | The listener for window change information |
Definition at line 341 of file CWindow.hpp.
| virtual void Exponent::GUI::Windowing::CWindow::removeTimedObject | ( | ITimedObject * | timedObject | ) | [virtual] |
Remove a timed objects
| timedObject | The object to remove from timing |
Implements Exponent::GUI::Windowing::IWindow.
| virtual void Exponent::GUI::Windowing::CWindow::setParentWindow | ( | IWindow * | parent | ) | [inline, virtual] |
Set the parent window of this window
| parent | The parent window |
Implements Exponent::GUI::Windowing::IWindow.
Definition at line 115 of file CWindow.hpp.
| virtual void Exponent::GUI::Windowing::CWindow::setToolTip | ( | IToolTip * | toolTip = NULL |
) | [inline, virtual] |
Set the tooltip to display
| toolTip | The tool tip to display |
Implements Exponent::GUI::Windowing::IToolTipSupportingWindow.
Definition at line 384 of file CWindow.hpp.
References m_toolTip.
| virtual void Exponent::GUI::Windowing::CWindow::setWindowAlpha | ( | const double | alpha | ) | [virtual] |
Set the window alpha value
| alpha | The alpha level 0 - 1 |
Implements Exponent::GUI::Windowing::IWindow.
| virtual void Exponent::GUI::Windowing::CWindow::setWindowPosition | ( | const CPoint & | position | ) | [virtual] |
Set the position of the window relative to its parent
| position | The position relative to the parent, usually the desktop |
| virtual void Exponent::GUI::Windowing::CWindow::setWindowPositionAndSize | ( | const CRect & | positionAndSize | ) | [virtual] |
Set the size and position
| positionAndSize | The new position and size of the window |
| virtual void Exponent::GUI::Windowing::CWindow::setWindowSize | ( | const CDimension & | dimension | ) | [virtual] |
Set the size of the widnwo
| dimension | The dimension of the window |
Implements Exponent::GUI::Windowing::IWindow.
| virtual void Exponent::GUI::Windowing::CWindow::startTimer | ( | const long | id, | |
| const long | timeInMilliseconds | |||
| ) | [virtual] |
Start a timer
| id | The unique id of the timer object to start | |
| timeInMilliseconds | The time in milliseconds between updates |
Implements Exponent::GUI::Windowing::IWindow.
| virtual void Exponent::GUI::Windowing::CWindow::startTrackMouseEvent | ( | ) | [protected, virtual] |
Start a track mouse event
| virtual void Exponent::GUI::Windowing::CWindow::stopTimer | ( | const long | id | ) | [virtual] |
Stop a timer
| id | The unique id of the timer |
Implements Exponent::GUI::Windowing::IWindow.
| static VOID CALLBACK Exponent::GUI::Windowing::CWindow::TimerProc | ( | HWND | windowHandle, | |
| UINT | message, | |||
| UINT_PTR | eventID, | |||
| DWORD | dwTime | |||
| ) | [static, protected] |
Handle timer events
| windowHandle | The handle to the window being timed | |
| message | The message | |
| eventID | The id of the timer event | |
| dwTime | The time position |
| virtual void Exponent::GUI::Windowing::CWindow::unhookKeyboardHandler | ( | ) | [protected, virtual] |
Unhook the keyboard handler
| void Exponent::GUI::Windowing::CWindow::unhookWheelHandler | ( | ) | [protected] |
Unhook the wheel handler
| virtual void Exponent::GUI::Windowing::CWindow::uninitialiseWindow | ( | ) | [virtual] |
Uninitialise the window
Implements Exponent::GUI::Windowing::IWindow.
| virtual void Exponent::GUI::Windowing::CWindow::unregisterAllChildWindows | ( | ) | [virtual] |
| virtual void Exponent::GUI::Windowing::CWindow::unregisterChldWindow | ( | IWindow * | child | ) | [virtual] |
Unregister a specific child window
| child | The child window to unregister |
Implements Exponent::GUI::Windowing::IWindow.
| virtual void Exponent::GUI::Windowing::CWindow::updateWindow | ( | ) | [virtual] |
Update the window redraws entire window
Implements Exponent::GUI::Windowing::IWindow.
| virtual bool Exponent::GUI::Windowing::CWindow::windowClosed | ( | IWindow * | window | ) | [virtual] |
Window has been closed
| window | The window that was changed |
| bool | Return true to close, return false to cancel closure |
| virtual void Exponent::GUI::Windowing::CWindow::windowMaximised | ( | IWindow * | window | ) | [virtual] |
Window has been maximised
| window | The window that was changed |
| virtual void Exponent::GUI::Windowing::CWindow::windowMinimised | ( | IWindow * | window | ) | [virtual] |
Window has been minimised
| window | The window that was changed |
| virtual void Exponent::GUI::Windowing::CWindow::windowMoved | ( | IWindow * | window, | |
| const CPoint & | newTopLeft | |||
| ) | [virtual] |
Window has been moved
| window | The window that was changed | |
| newTopLeft | The new top left of the window |
| virtual void Exponent::GUI::Windowing::CWindow::windowOpened | ( | IWindow * | window | ) | [virtual] |
Window has been opened
| window | The window that was changed |
| static pascal OSStatus Exponent::GUI::Windowing::CWindow::WindowProc | ( | EventHandlerCallRef | handler, | |
| EventRef | theEvent, | |||
| void * | userData | |||
| ) | [static, protected] |
Main proc call back function for window
| handler | The event handler | |
| theEvent | The event to handler | |
| userData | The window user data |
| pascal | OSStatus The error status, did we handle? |
| static LRESULT CALLBACK Exponent::GUI::Windowing::CWindow::WindowProc | ( | HWND | windowHandle, | |
| UINT | message, | |||
| WPARAM | wParam, | |||
| LPARAM | lParam | |||
| ) | [static, protected] |
Main proc call back function for windows
| windowHandle | The handle to the window | |
| message | The message to handle | |
| wParam | The high bits | |
| lParam | The low bits |
| LRESULT | the result, did we handle? |
| virtual void Exponent::GUI::Windowing::CWindow::windowSized | ( | IWindow * | window, | |
| const CDimension & | newDimension | |||
| ) | [virtual] |
Window has been resized
| window | The window that was changed | |
| newDimension | The new size of the window |
Attributes of the window
Definition at line 679 of file CWindow.hpp.
IDropFileListener* Exponent::GUI::Windowing::CWindow::m_dropFileListener [protected] |
Drop file listener
Definition at line 674 of file CWindow.hpp.
IFocusListener* Exponent::GUI::Windowing::CWindow::m_focusListener [protected] |
Window focus changed listener
Definition at line 677 of file CWindow.hpp.
CGraphics Exponent::GUI::Windowing::CWindow::m_graphics [protected] |
The graphics object
Definition at line 689 of file CWindow.hpp.
HWND Exponent::GUI::Windowing::CWindow::m_hookWindowHandle [static, protected] |
The window hook
Definition at line 710 of file CWindow.hpp.
HHOOK Exponent::GUI::Windowing::CWindow::m_keyboardHook [protected] |
The hook for keyboard events
Definition at line 708 of file CWindow.hpp.
IKeyboardListener* Exponent::GUI::Windowing::CWindow::m_keyboardListener [protected] |
Keyboatd listener
Definition at line 675 of file CWindow.hpp.
CKeyboardEvent Exponent::GUI::Windowing::CWindow::m_keyEvent [protected] |
The keyboard event
Definition at line 692 of file CWindow.hpp.
bool Exponent::GUI::Windowing::CWindow::m_leftClick [protected] |
Is this a left click?
Definition at line 714 of file CWindow.hpp.
CMouse Exponent::GUI::Windowing::CWindow::m_mouse [protected] |
The mouse
Definition at line 687 of file CWindow.hpp.
CMouseEvent Exponent::GUI::Windowing::CWindow::m_mouseEvent [protected] |
The mouse event
Definition at line 691 of file CWindow.hpp.
HHOOK Exponent::GUI::Windowing::CWindow::m_mouseHook [protected] |
The hook for mouse wheel events
Definition at line 709 of file CWindow.hpp.
IMouseListener* Exponent::GUI::Windowing::CWindow::m_mouseListener [protected] |
Mouse listener
Definition at line 673 of file CWindow.hpp.
CPoint Exponent::GUI::Windowing::CWindow::m_mousePoint [protected] |
Current mouse position
Definition at line 688 of file CWindow.hpp.
CRect Exponent::GUI::Windowing::CWindow::m_redrawUpdateArea [protected] |
The area to update
Definition at line 716 of file CWindow.hpp.
long Exponent::GUI::Windowing::CWindow::m_referenceCount [protected] |
How many things point to this item?
Definition at line 702 of file CWindow.hpp.
SETLAYERATTRIBUTE Exponent::GUI::Windowing::CWindow::m_setLayeredWindowAttributes [protected] |
The layered window function
Definition at line 707 of file CWindow.hpp.
The root control that all window have
Definition at line 700 of file CWindow.hpp.
The timed objects
Definition at line 698 of file CWindow.hpp.
The timer contexts..
Definition at line 715 of file CWindow.hpp.
IToolTip* Exponent::GUI::Windowing::CWindow::m_toolTip [protected] |
The tool tip for this window
Definition at line 696 of file CWindow.hpp.
Referenced by getMutableToolTip(), getToolTip(), and setToolTip().
bool Exponent::GUI::Windowing::CWindow::m_updateAreaIsValid [protected] |
Do we draw with the update area?
Definition at line 717 of file CWindow.hpp.
HIViewRef Exponent::GUI::Windowing::CWindow::m_userWindow [protected] |
Hiview ref for the user pane
Definition at line 718 of file CWindow.hpp.
IWindowChangeListener* Exponent::GUI::Windowing::CWindow::m_windowChangeListener [protected] |
Window changed listener
Definition at line 676 of file CWindow.hpp.
CDimension Exponent::GUI::Windowing::CWindow::m_windowDimension [protected] |
The dimensions of the window
Definition at line 683 of file CWindow.hpp.
Handle of the window
Definition at line 680 of file CWindow.hpp.
bool Exponent::GUI::Windowing::CWindow::m_windowInitialised [protected] |
Is the window intialised?
Definition at line 694 of file CWindow.hpp.
IWindow* Exponent::GUI::Windowing::CWindow::m_windowParent [protected] |
The parent of this window
Definition at line 681 of file CWindow.hpp.
CPoint Exponent::GUI::Windowing::CWindow::m_windowPosition [protected] |
The position (globally) of the window
Definition at line 684 of file CWindow.hpp.
CRect Exponent::GUI::Windowing::CWindow::m_windowSize [protected] |
The widow size
Definition at line 685 of file CWindow.hpp.